transfer statements in Python